package com.wuliang.generate.response.system;

import com.wuliang.generate.common.core.adapter.swagger.EntityReader;
import com.wuliang.generate.common.core.annotation.WLApplication;
import com.wuliang.generate.common.core.configs.*;
import com.wuliang.generate.common.sharding.configs.DruidConfig;
import com.wuliang.generate.common.sharding.configs.ShardingConfig;
import org.springframework.boot.SpringApplication;

/**
 * @author WuLiang
 */
@WLApplication(
        anotherEntityPackages = {
                "com.wuliang.generate.common.entities"
        },
        anotherScanPackages = {
                "com.wuliang.generate.common.core.utils",
                "com.wuliang.generate.response.system",
                "com.wuliang.generate.common.core.properties"
        },
        anotherRegistryConfigs = {
                EntityReader.class, AopConfig.class, SwaggerConfig.class, RedisConfig.class,
                DruidConfig.class, ShardingConfig.class
        }
)
public class SystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }
}
